package com.guigu.youxuan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.guigu.youxuan.pojo.Warehouse;
import com.guigu.youxuan.pojo.WarehouseDetails;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liweixin
 * @since 2024-05-15
 */
public interface IWarehouseDetailsService extends IService<WarehouseDetails> {

    /**
     * 分页查询仓库商品表
     * @param currentPage
     * @param pageSize
     * @return
     */
    PageInfo<WarehouseDetails> DynamicListPage(int currentPage, int pageSize);

    Integer queryGoodsAmount(Long goodsId);

    WarehouseDetails queryWarehouseByGid(Long goodsId);
}
